<?php

namespace App\Model\UserRoleAuth;

use App\Model\Model;

class UserRoleModel extends Model
{
    protected ?string $connection = 'organ';

    protected ?string $table = 'organ_user_role';

    protected array $guarded = [];

    protected array $casts = [
        'id' => 'int',
        'organ_id'  => 'int',
        'role_id'  => 'int',
        'user_id'  => 'int',
        'owner_id' => 'int',
        'status' => 'int',
        'created_at'  => 'date:Y-m-d h:i:s',
        'updated_at'  => 'date:Y-m-d h:i:s',
    ];
}